.parent{
    width: 400px;
    padding: 10px;
    background-color: orange;
    box-sizing: border-box;
}
.child{
    margin-top: 20px;
    width: 100%;
    padding: 10px;
    background-color: skyblue;
    box-sizing: border-box;
}